/*
 * @Author: your name
 * @Date: 2021-11-19 11:51:57
 * @LastEditTime: 2021-11-19 12:00:46
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \vue_cli_demo5\src\api\mock.js
 */
import Mock from 'mockjs'

import homeApi from './mockServerData/home'
// import userApi from './mockServerData/user'
// import permissionApi from './mockServerData/permission'
Mock.mock('/api/home/getData', homeApi.getStatisticalData)
// Mock.mock('/api/user/getUser', userApi.getUserList)


// Mock.mock(/api\/user\/getUser/, 'get', userApi.getUserList)
// // 权限相关
// Mock.mock(/api\/permission\/getMenu/, 'post', permissionApi.getMenu)